////////////////////////////////////////////////
// File: Sysprovince.java
// Description: Enter summary here after generation.
// Date: 2016-09-23 09:09:33
// Web: http://www.elanzhou.com/
////////////////////////////////////////////////
package com.mvc.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.text.SimpleDateFormat;
/**
 * sysprovince entity. @author 马威
 */
@Entity
@Table(name = "sysprovince")
public class Sysprovince implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	@Id
	@Basic(optional = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)   
    @Column(name = "ID", nullable = false)
	private Integer ID;
    //省份编码
    @Column(name = "pcode")
	private  String Pcode;
    //省份名称
    @Column(name = "pname")
	private  String Pname;
    public int getId() {
       return this.ID;
	   }
	public void setId(int ID) {
	   this.ID = ID;
       }
    public String getPcode() {
       return this.Pcode;
	   }
	public void setPcode(String Pcode) {
	   this.Pcode = Pcode;
	   }
    public String getPname() {
       return this.Pname;
	   }
	public void setPname(String Pname) {
	   this.Pname = Pname;
	   }

}